package TestCustomer;

import static org.junit.Assert.*;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import Customer.*;
import CustomerVO.*;



public class TestCart extends TestCase {
	Cart cart;

	@Before
	public void setUp() throws Exception {
		cart = new Cart();
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testAdd() {
		BookVO bookVO = new BookVO();
		AddCartStateVO result = cart.add(bookVO);
		Assert.assertEquals(result, null);
	}

	@Test
	public void testDelete() {
		int i = 0;
		ItemListVO result = cart.delete(i);
		Assert.assertEquals(result, null);
	}

	@Test
	public void testModify() {
		int i = 0;
		int j = 1;
		ItemListVO result = cart.modify(0,1);
		Assert.assertEquals(result, null);
	}

	@Test
	public void testGetItemList() {
		ItemListVO result = cart.getItemList();
		Assert.assertEquals(result, null);
	}

	@Test
	public void testGoPage() {
		int i = 0;
		ItemListVO result = cart.goPage(i);
		Assert.assertEquals(result, null);
	}

}
